﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Reward.master" AutoEventWireup="true" CodeFile="Post.aspx.cs" Inherits="SY.WebSite.Web.Reward.Post" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>悬赏系统 - <%= Settings.Title %></title>
    <link href="<%= Settings.StaticFileDomain %>/Scripts/util/ui.uapselector/skin/default/main.css" rel="stylesheet" type="text/css" />
    <script src="<%= Settings.StaticFileDomain %>/Scripts/util/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="<%= Settings.StaticFileDomain %>/Scripts/util/ui.uapselector/jquery.ui.uapselector.js" type="text/javascript"></script>

	<link rel="stylesheet" href="<%= Settings.StaticFileDomain %>/Scripts/util/kindeditor/themes/default/default.css" />
	<script charset="utf-8" src="<%= Settings.StaticFileDomain %>/Scripts/util/kindeditor/kindeditor.js" type="text/javascript"></script>
	<script charset="utf-8" src="<%= Settings.StaticFileDomain %>/Scripts/util/kindeditor/lang/zh_CN.js" type="text/javascript"></script>
    <style type="text/css">
        label.inline{ display: inline-block;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" Runat="Server">
    <div class="row">
        <div class="one columns">
          <label class="inline" for="title">主题：</label>
        </div>
        <div class="eleven columns">
            <input type="text" id="title" maxlength="50" />
        </div>
    </div>
    <div class="row" style="padding-bottom: 15px;">
        <div class="one columns">
          <label class="inline" for="description">内容：</label>
        </div>
        <div class="eleven columns">
            <textarea id="description" rows="15"></textarea>
        </div>
    </div>
    <div class="row">
        <div class="one columns">
          <label class="inline" for="type">素币类型：</label>
        </div>
        <div class="eleven columns">
            <select id="type" class="inline" style="width:100px;">
                <option value="">请选择</option>
                <option value="1">可用素币</option>
                <option value="2">特殊素币</option>
            </select>&nbsp;&nbsp;&nbsp;
            <label class="inline type">素币数：</label>
            <input id="amount" type="text" class="date" />&nbsp;
            <label class="inline" id="amountTip"></label>
        </div>
    </div>
    <div class="row">
        <div class="one columns">
          <label class="inline">类型：</label>
        </div>
        <div class="eleven columns">
            <label class="inline"><input type="radio" name="type" value="0" checked="checked"/>公开</label><br />
            <label class="inline"><input type="radio" name="type" value="1"/>非公开，最多可选择100人</label>&nbsp;<span id="userId" style="position:relative; display:none; top:11px"></span>
        </div>
    </div>
    <div class="row">
        <div class="one columns">
          <label class="inline" for="title">截止时间：</label>
        </div>
        <div class="eleven columns">
            <input id="end" type="text" class="Wdate date" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})"/>
        </div>
    </div>
    <div class="row">
        <div class="one columns">
          <label class="inline">&nbsp;</label>
        </div>
        <div class="eleven columns">
            <input type="button" class="small button" value="确定提交" onclick="page.submit()" />
        </div>
    </div>

    
    <script src="<%= Settings.StaticFileDomain %>/Scripts/page/reward/post.js" type="text/javascript"></script>
    <script type="text/javascript">
        page.userList =<%= ToJson(UserList) %>;
    </script>
</asp:Content>